STEP 8: Let's add some detail to our battle scene!

  • Change your dragon's variable name from sprite to dragon.
  • In , drop Go To indented inside your battle_scene function.
  • Assign .go_to() to dragon instead of sprite and change the arguments inside to (150, -150).
  • Have your knight Say "Oh no, a dragon!"

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)